#! /bin/env python
# -*- coding: utf-8 -*-
#
# $Id$

import time

class mylog:
	debug = False
	
def log(text, level = 0):
	if mylog.debug or level == 1:
		print "[%s] %s" % (time.strftime('%Y/%m/%d %H:%M:%S'), text)
